//
//  SGProgressHUD.h
//  SGProgressHUD
//
//  Created by appbegin on 14-6-23.
//  Copyright (c) 2014年 appbegin. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface SGProgressHUD : UIView

+ (SGProgressHUD *)shared;

+ (void)dismiss;
+ (void)show:(NSString *)status;
+ (void)showSuccess:(NSString *)status;
//+ (void)showError:(NSString *)status;

@property (atomic, strong) UIView *backView;
@property (atomic, strong) UIWindow *window;
@property (atomic, strong) UIToolbar *hud;
@property (atomic, strong) UIActivityIndicatorView *spinner;
@property (atomic, strong) UIImageView *image;
@property (atomic, strong) UILabel *label;

@end
